#!/bin/bash
#请先使用visudo进行sudo免密配置" %sudo   ALL=(ALL:ALL) NOPASSWD:ALL "
#按需修改docker网桥地址
installpkgs(){
sudo cp ./apt-source-list/etc/apt/sources.list.d/* /etc/apt/sources.list.d/
sudo mkdir /etc/apt/keyring /etc/docker
sudo cp ./install/install-docker/etc-apt-keyring-docker.gpg /etc/apt/keyring/docker.gpg
sudo cp ./install/install-docker/daemon.json /etc/docker/
sudo apt update
sudo apt install gitlab-runner ansible docker-ce
}

installpkgs
